package day8.am;
import java.util.*;
public class Exec {
    public static void main(String[] args) {
        /*
        * 数组中删除某一个元素比较复杂
        *
        * */
        int[] data = {1,2,3,4,5,6};
        System.arraycopy(data,3,data,2,3);
        int[] temp = Arrays.copyOf(data, 5);
        for(int x : temp){
            System.out.println(x);
        }

    }
    /**
     *  x: 数组下标
     *
     * */
    public static void arraydelete(int[] data,int x){
        //TODO
    }
}
